/*
 * @Author: your name
 * @Date: 2021-09-09 20:08:29
 * @LastEditTime: 2021-09-09 22:23:29
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \backstage-management-system\system\src\main.js
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入组件库
import iView from 'iview';
import 'iview/dist/styles/iview.css';
Vue.use(iView);
// 全局引入elementui组件库
import Element from 'element-ui';
// 样式
import 'element-ui/lib/theme-chalk/index.css';
// 国际化 -- 按钮显示中文
import locale from 'element-ui/lib/locale/lang/zh-CN'

// // 动态生成路由
// import './permission'

// // 指令
// import './directive'

Vue.use(Element, { zIndex: 3000, locale });
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
